/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.hcht.xrlh.zfryk.entity;

import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.modules.sys.entity.User;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 执法人员库Entity
 * @author lrz
 * @version 2016-12-19
 */
public class DrZfryk extends DataEntity<DrZfryk> {
	
	private static final long serialVersionUID = 1L;
	private String sxId;		// 事项主键
	private User user;		// USERID
	private String ryFlag;		// 状态
	
	public DrZfryk() {
		super();
	}

	public DrZfryk(String id){
		super(id);
	}

	@Length(min=0, max=64, message="事项主键长度必须介于 0 和 64 之间")
	public String getSxId() {
		return sxId;
	}

	public void setSxId(String sxId) {
		this.sxId = sxId;
	}
	
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
	@Length(min=0, max=2, message="状态长度必须介于 0 和 2 之间")
	public String getRyFlag() {
		return ryFlag;
	}

	public void setRyFlag(String ryFlag) {
		this.ryFlag = ryFlag;
	}
	
}